Parallel Linear Congruential Generators with Prime Moduli
نویسنده
چکیده
Linear congruential generators (LCGs) remain the most popular method of pseudorandom number generation on digital computers. Ease of implementation has favored implementing LCGs with power-of-two moduli. However, prime modulus LCGs are superior in quality to power-of-two modulus LCGs, and the use of a Mersenne prime minimizes the computational cost of generation. When implemented for parallel computation, quality becomes an even more compelling issue. We use a full-period exponential sum as the measure of stream independence and present a method for producing provably independent streams of LCGs in parallel by utilizing an explicit parameterization of all of the primitive elements modulo a given prime. The minimization of this measure of independence further motivates an algorithm required in the explicit parameterization. We describe and analyze this algorithm and describe its use in a parallel LCG package.
منابع مشابه
Compound Inversive Congruential Generator Design Algorithm
In this paper we present an algorithm for the compound method of designing generators as pseudorandom stream sources. Compound method relies on a technique of combining two or more inversive congruential generators. Experiments on congruential methods showed that even if all tested generators have maximum period not all produced binary sequences have the linear complexity of the same value. We ...
متن کاملTables of linear congruential generators of different sizes and good lattice structure
We provide sets of parameters for multiplicative linear congruential generators (MLCGs) of different sizes and good performance with respect to the spectral test. For ` = 8, 9, . . . , 64, 127, 128, we take as a modulus m the largest prime smaller than 2`, and provide a list of multipliers a such that the MLCG with modulus m and multiplier a has a good lattice structure in dimensions 2 to 32. W...
متن کاملStructural Properties for Two Classes of Combined Random Number Generators
We analyze a class of combined random number generators recently proposed by L'Ecuyer, which combines a set of linear congruential generators (LCG's) with distinct prime moduli. We show that the geometrical behavior of the vectors of points produced by the combined generator can be approximated by the lattice structure of an associated LCG, whose modulus is the product of the moduli of the indi...
متن کاملSome Notes On Multiplicative Congruential Random Number Generators With Mersenne Prime Modulus 261-1
Multiplicative congruential random number generators of the form sn = a*Sn_i mod m using the Mersenne prime modulus 2-1 are examined. Results show that they can provide sufficiently long pseudo-random sequences that can be implemented efficiently using 64 bit accumulators without the need of a costly division operation. INTRODUCTION Random number generators are widely used in computer simulatio...
متن کاملA Method of Systematic Search for Optimal Multipliers in Congruential Random Number Generators
This paper presents a method of systematic search for optimal multipliers for congruential random number generators. The word-size of computers is a limiting factor for development of random numbers. The generators for computers up to 32 bit wordsize are already investigated in detail by several authors. Some partial works are also carried out for moduli of 2 and higher sizes. Rapid advances in...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
عنوان ژورنال:
- Parallel Computing
دوره 24 شماره
صفحات -
تاریخ انتشار 1998